home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Networking / OT PAPServerSample / ATalkSampleUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.1 KB  |  38 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ATalkSampleUtils.h
  3.  
  4.     Contains:    Some utility routines used by the Sample programs
  5.  
  6.     Written by:     
  7.  
  8.     Copyright:    Copyright © 1993-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 7/22/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23.  
  24. #ifndef __ATALKSAMPLEUTILS__
  25. #define __ATALKSAMPLEUTILS__
  26.  
  27. #include "OpenTransport.h"
  28. #include "OpenTptAppleTalk.h"
  29.  
  30.  
  31. void Idle(void);
  32. void ShowEndpointInfo(EndpointRef ep);
  33. void ShowEndpointState(EndpointRef ep, char* prefixString);
  34. void ShowFullEndpointData(EndpointRef ep);
  35. void ShowDDPAddress(DDPAddress* addr);
  36.  
  37. #endif
  38.